Skip to content

chore: release main - #464

Merged
stainless-app[bot] merged 7 commits into
mainfrom
release-please--branches--main--changes--next
Jul 28, 2026
Merged

chore: release main#464
stainless-app[bot] merged 7 commits into
mainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app

@stainless-app stainless-app Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

✨ Stainless prepared a new release

agentex-client: 0.21.0

0.21.0 (2026-07-28)

Full Changelog: agentex-client-v0.20.0...agentex-client-v0.21.0

Features

  • api: add include_live parameter to schedules list method (199fd6a)
  • codex: republish todo_list revisions as they are ticked off (#473) (0252fcc)
  • stlc: configurable CI runner and private-production-repo support in workflow templates (23c1b6b)

Bug Fixes

  • api: remove params field from task list response (152bc75)
agentex-sdk: 0.21.0

0.21.0 (2026-07-28)

Full Changelog: agentex-sdk-v0.20.0...agentex-sdk-v0.21.0

Chores

  • agentex-sdk: Synchronize agentex versions

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions

Greptile Summary

This is the v0.21.0 release PR, generated by Stainless, bumping both agentex-client and agentex-sdk from 0.20.0 to 0.21.0. The changes are a mix of API surface additions, a behavioural fix in the Codex stream processor, and a new observability correlation utility.

  • API additions: include_live: bool parameter added to the schedules list() method (sync and async), with live_data_available: Optional[bool] added to all schedule response models; params removed from TaskListResponseItem to avoid leaking per-caller secrets and PII in list responses.
  • Codex stream processor: item.updated events for todo_list items are now republished as intermediate ToolResponseContent messages under the same tool_call_id, letting consumers render the checklist filling in progressively instead of jumping to the final state; guarded against orphaned updates and non-forwarding for other tool types, with four new tests covering each case.
  • Observability tracing: New obs_ids.py module correlates business spans with the active OTel or ddtrace trace/span IDs via obs.trace_id/obs.span_id tags, respecting SGP_OBS_MODE; CI runner selector broadened from an exact repo match to startsWith('stainless-sdks/') to support private-production-repo forks; MCP servers in the deep-research example pinned to mcp<2 to work around the McpErrorMCPError rename.

Confidence Score: 5/5

All changes are well-scoped additive API surface updates, a behavioural improvement to the Codex stream processor, and a new observability utility — no regressions introduced.

The todo_list progressive-update path is guarded against orphaned updates and tested across four distinct scenarios. The new obs_ids.py module gracefully returns an empty dict when no observability context is active. The params removal from TaskListResponseItem is an intentional, documented API change. No logic errors or unsafe code paths were found across the diff.

Files Needing Attention: No files require special attention.

Important Files Changed

Filename Overview
src/agentex/lib/adk/_modules/_codex_sync.py Adds item.updated handling for _PROGRESSIVE_TOOL_ITEMS (todo_list), republishing each revision as a ToolResponseContent under the same tool_call_id so consumers see the checklist fill in progressively.
src/agentex/lib/core/tracing/obs_ids.py New module that correlates business spans with active OTel/ddtrace observability IDs; gracefully returns empty dict when no context is active.
src/agentex/lib/core/tracing/trace.py Tags business spans with obs.trace_id/obs.span_id from obs_correlation(); uses spread to preserve existing serialized_data fields.
src/agentex/resources/agents/schedules.py Adds include_live parameter to both sync and async list() methods, wired through maybe_transform into the query dict.
src/agentex/types/task_list_response.py Removes params field from TaskListResponseItem and updates docstring to document the intentional lean-summary shape that omits PII/secrets.
tests/lib/adk/test_codex_sync.py Adds TestTodoListUpdates with four test cases covering progressive republishing, count deduplication, orphaned-update guard, and non-forwarding for other tool types.
examples/tutorials/10_async/10_temporal/020_state_machine/project/workflows/deep_research/performing_deep_research.py Pins MCP servers to mcp<2 via _MCP_PIN constant to work around McpError to MCPError rename; well-documented with a drop-pin note for when servers upgrade.
.github/workflows/ci.yml Broadens depot runner selector from exact repo match to startsWith('stainless-sdks/') to support private-production-repo forks.

Sequence Diagram

sequenceDiagram
    participant Codex
    participant _CodexStreamProcessor
    participant Consumer

    Codex->>_CodexStreamProcessor: item.started (todo_list)
    _CodexStreamProcessor->>Consumer: StreamTaskMessageStart(ToolRequestContent)

    Codex->>_CodexStreamProcessor: item.updated (todo_list, step 1 ticked)
    _CodexStreamProcessor->>Consumer: StreamTaskMessageFull(ToolResponseContent, same tool_call_id)

    Codex->>_CodexStreamProcessor: item.updated (todo_list, step 2 ticked)
    _CodexStreamProcessor->>Consumer: StreamTaskMessageFull(ToolResponseContent, same tool_call_id)

    Codex->>_CodexStreamProcessor: item.completed (todo_list)
    _CodexStreamProcessor->>Consumer: StreamTaskMessageFull(ToolResponseContent, same tool_call_id)
    _CodexStreamProcessor->>Consumer: StreamTaskMessageDone
Loading

Reviews (6): Last reviewed commit: "chore: release main" | Re-trigger Greptile

@stainless-app
stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 7f14903 to e70f46e Compare July 21, 2026 18:29
@stainless-app
stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from e70f46e to 74d4c40 Compare July 21, 2026 23:06
…ty trace (#465)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@stainless-app
stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 74d4c40 to 2365a59 Compare July 24, 2026 06:19
@stainless-app
stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 2365a59 to 91b6dde Compare July 27, 2026 17:57
@stainless-app
stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 91b6dde to 3fa1a3c Compare July 28, 2026 17:23
@stainless-app
stainless-app Bot merged commit 2b7649c into main Jul 28, 2026
104 of 106 checks passed
@stainless-app
stainless-app Bot deleted the release-please--branches--main--changes--next branch July 28, 2026 19:05
@stainless-app

stainless-app Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

@stainless-app

stainless-app Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants